home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / flex_247.zip / flex_247 / MISC / VMS / VMS.com-file < prev    next >
Text File  |  1991-05-09  |  2KB  |  77 lines

  1. (Message inbox:139)
  2. Date:     Thu, 9 May 1991 16:47:07 EDT
  3. From:  YOUNG@TATTOO.CS.WIDENER.EDU
  4. To:  vern@horse.ee.lbl.gov
  5. X-Vmsmail-To:  SMTP%"vern@horse.ee.lbl.gov"
  6.  
  7.     vern@horse.ee.lbl.gov
  8.  
  9. Vern,
  10.  
  11.     Some time ago I had written to you mentioning that
  12.     FLEX could not find the FLEX.SKEL.  I realized I had re-built
  13.     the source at one time ( the MMS did not quite work for me ) and 
  14.     that is when it was having problems finding FLEX.SKEL.  To make
  15.     it find FLEX.SKEL look at the /define below when it compiles
  16.     main.  Thought this little com might come in handy for those
  17.     that don't have MMS.  For debugging purposes I had put in a 
  18.     different target for each source as there were minor things
  19.     that needed to be done and rather rebuild the whole thing just
  20.     passed in the source as a parameter. 
  21.  
  22.             Rob Young
  23.  
  24. $ temp = f$environment("procedure")
  25. $ this_dir = f$extract(0,f$locate("]",temp) + 1,temp)
  26. $ set default 'this_dir'
  27. $ wr = "WRITE SYS$OUTPUT"
  28. $ if p1 .nes. "" then goto 'p1'
  29. $ alloca:
  30. $ wr "Building alloca.."
  31. $ macro alloca
  32. $ bcopy:
  33. $ wr "Building bcopy.."
  34. $ macro bcopy
  35. $ ccl:
  36. $ wr "Building ccl.."
  37. $ cc/define=(VMS,USG) ccl.c
  38. $ dfa:
  39. $ wr "Building dfa.."
  40. $ cc/define=(VMS,USG) dfa.c 
  41. $ ecs:
  42. $ wr "Building ecs.."
  43. $ cc/define=(VMS,USG) ecs.c
  44. $ gen:
  45. $ wr "Building gen.."
  46. $ cc/define=(VMS,USG) gen.c
  47. $ main:
  48. $ wr "Building main.."
  49. $ cc/define=(VMS,USG,DEFAULT_SKELETON_FILE = """tools$$library:FLEX.SKEL""") ma
  50. in.c
  51. $ misc:
  52. $ wr "Building misc.."
  53. $ cc/define=(VMS,USG) misc.c
  54. $ nfa:
  55. $ wr "Building nfa.."
  56. $ cc/define=(VMS,USG) nfa.c
  57. $ parse:
  58. $ wr "Building parse.."
  59. $ cc/define=(VMS,USG) parse.c    ! made with Unix yacc/define=(VMS,USG) -d bison
  60.  will work too.
  61. $ scan:
  62. $ wr "Building scan.."
  63. $ cc/define=(VMS,USG) scan.c
  64. $ sym:
  65. $ wr "Building sym.."
  66. $ cc/define=(VMS,USG) sym.c
  67. $ tblcmp:
  68. $ wr "Building tblcmp.."
  69. $ cc/define=(VMS,USG) tblcmp.c
  70. $ yylex:
  71. $ wr "Building yylex.."
  72. $ cc/define=(VMS,USG) yylex.c
  73. $ link:
  74. $ link/exec=flex alloca,bcopy,ccl,dfa,ecs,gen,main,misc,nfa,parse,scan -
  75.                  ,sym,tblcmp,yylex,sys$input/opt
  76. sys$share:vaxcrtl.exe/share
  77.